import request from '@/utils/request'

// 查询医生排班管理列表
export function getLeaveList() {
  return request({
    url: '/appointment/leave/LeaveList',
    method: 'get',
  })
}


// 审批
export function approveLeave(data) {
  return request({
    url: '/appointment/leave/Approval',
    method: 'put',
    data: data
  })
}
